package com.Java.train.business.service;

import com.Java.train.common.response.CommonResp;
import com.Java.train.business.entity.Station;
import com.baomidou.mybatisplus.extension.service.IService;
import com.Java.train.common.response.PageResp;
import com.Java.train.business.entity.DTO.StationDTO;
import com.Java.train.business.req.StationQueryReq;
import java.util.List;

/**
* @author luomoxingchen
* @since 2024-09-22
*/
public interface StationService extends IService<Station> {

    /**
    * Station详情
    * @param
    * @return
    */
    PageResp<StationDTO> queryList(StationQueryReq stationQueryReq);

    /**
    * Station保存和修改
    * @param station 根据需要进行传值
    * @return
    */
    CommonResp<Object> modify(Station station);

    /**
    * Station删除
    * @param ids
    * @return
    */
    CommonResp<Object> remove(String ids);

    List<StationDTO> queryAll();
}


